package com.cloud.mapper;

import java.util.ArrayList;

import org.apache.ibatis.annotations.Mapper;

import com.cloud.bean.Bill;
import com.cloud.bean.BillDetail;

@Mapper
public interface BillMapper {

	ArrayList<Bill> selectList();
	
	ArrayList<Bill> selectListByStatus(Integer status);
	
	void insertBill(Bill bill);
	
	void updateBillByStatus(Bill bill);
	
	void deleteBillByPhone(String phone);
	
	void updateBillByReason(Bill bill);

	BillDetail selectBillDetail(String order);

}
